package com.zhuo.project.k3.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 物料条码主档信息对象 zz_material_barcode
 * 
 * @author ruoyi
 * @date 2020-03-18
 */
@ApiModel("物料条码主档实体")
public class ZzMaterialBarcodeDto
{
    private static final long serialVersionUID = 1L;
    

    /** 条形码 */
    @ApiModelProperty(name = "条形码")
    private String fbarcode;

    /** 条码规则 */
    @ApiModelProperty(name = "条码规则")
    private String fbarcoderule;

    /** 禁用状态 */
    @ApiModelProperty(name = "禁用状态")
    private Integer fforbidstatus;

    /** 物料编码 */
    @ApiModelProperty(name = "物料编码")
    private String fmaterialid;

    /** 计量单位 */
    @ApiModelProperty(name = "计量单位")
    private String funitid;

    /** 数量 */
    @ApiModelProperty(name = "数量")
    private Double fqty;

    /** 创建日期 */
    @ApiModelProperty(name = "创建日期")
    private String fcreatedate;

    /** 修改日期 */
    @ApiModelProperty(name = "修改日期")
    private String fmodifydate;

    /** 创建组织 */
    @ApiModelProperty(name = "创建组织")
    private String fcreateorgid;

    /** 库存组织 */
    @ApiModelProperty(name = "库存组织")
    private String fstockorgid;

    /** 仓库 */
    @ApiModelProperty(name = "仓库")
    private String fstockid;

    /** 出库数量 */
    @ApiModelProperty(name = "出库数量")
    private Double foutqty;

    /** 整箱数量 */
    @ApiModelProperty(name = "整箱数量")
    private Double fboxqty;

    /** 合格数量 */
    @ApiModelProperty(name = "合格数量")
    private Double fquaqty;

    /** 基本数量 */
    @ApiModelProperty(name = "基本数量")
    private Double fbaseqty;

    /** 基本单位 */
    @ApiModelProperty(name = "基本单位")
    private String fbaseunitid;

    /** 单据编号 */
    @ApiModelProperty(name = "单据编号")
    private String fbillcode;

    /** 防伪码 */
    @ApiModelProperty(name = "防伪码")
    private String fsecuritycode;

    public ZzMaterialBarcodeDto() {
    }

    public ZzMaterialBarcodeDto(String fbarcode, String fbarcoderule, Integer fforbidstatus, String fmaterialid,
            String funitid, Double fqty, String fcreatedate, String fmodifydate, String fcreateorgid,
            String fstockorgid, String fstockid, Double foutqty, Double fboxqty, Double fquaqty, Double fbaseqty,
            String fbaseunitid, String fbillcode, String fsecuritycode) {
        this.fbarcode = fbarcode;
        this.fbarcoderule = fbarcoderule;
        this.fforbidstatus = fforbidstatus;
        this.fmaterialid = fmaterialid;
        this.funitid = funitid;
        this.fqty = fqty;
        this.fcreatedate = fcreatedate;
        this.fmodifydate = fmodifydate;
        this.fcreateorgid = fcreateorgid;
        this.fstockorgid = fstockorgid;
        this.fstockid = fstockid;
        this.foutqty = foutqty;
        this.fboxqty = fboxqty;
        this.fquaqty = fquaqty;
        this.fbaseqty = fbaseqty;
        this.fbaseunitid = fbaseunitid;
        this.fbillcode = fbillcode;
        this.fsecuritycode = fsecuritycode;
    }

    public void setFbarcode(String fbarcode)
    {
        this.fbarcode = fbarcode;
    }

    public String getFbarcode() 
    {
        return fbarcode;
    }
    public void setFbarcoderule(String fbarcoderule) 
    {
        this.fbarcoderule = fbarcoderule;
    }

    public String getFbarcoderule() 
    {
        return fbarcoderule;
    }
    public void setFforbidstatus(Integer fforbidstatus) 
    {
        this.fforbidstatus = fforbidstatus;
    }

    public Integer getFforbidstatus() 
    {
        return fforbidstatus;
    }
    public void setFmaterialid(String fmaterialid) 
    {
        this.fmaterialid = fmaterialid;
    }

    public String getFmaterialid() 
    {
        return fmaterialid;
    }
    public void setFunitid(String funitid) 
    {
        this.funitid = funitid;
    }

    public String getFunitid() 
    {
        return funitid;
    }
    public void setFqty(Double fqty) 
    {
        this.fqty = fqty;
    }

    public Double getFqty() 
    {
        return fqty;
    }
    public void setFcreatedate(String fcreatedate) 
    {
        this.fcreatedate = fcreatedate;
    }

    public String getFcreatedate() 
    {
        return fcreatedate;
    }
    public void setFmodifydate(String fmodifydate) 
    {
        this.fmodifydate = fmodifydate;
    }

    public String getFmodifydate() 
    {
        return fmodifydate;
    }
    public void setFcreateorgid(String fcreateorgid) 
    {
        this.fcreateorgid = fcreateorgid;
    }

    public String getFcreateorgid() 
    {
        return fcreateorgid;
    }
    public void setFstockorgid(String fstockorgid) 
    {
        this.fstockorgid = fstockorgid;
    }

    public String getFstockorgid() 
    {
        return fstockorgid;
    }
    public void setFstockid(String fstockid) 
    {
        this.fstockid = fstockid;
    }

    public String getFstockid() 
    {
        return fstockid;
    }
    public void setFoutqty(Double foutqty) 
    {
        this.foutqty = foutqty;
    }

    public Double getFoutqty() 
    {
        return foutqty;
    }
    public void setFboxqty(Double fboxqty) 
    {
        this.fboxqty = fboxqty;
    }

    public Double getFboxqty() 
    {
        return fboxqty;
    }
    public void setFquaqty(Double fquaqty) 
    {
        this.fquaqty = fquaqty;
    }

    public Double getFquaqty() 
    {
        return fquaqty;
    }
    public void setFbaseqty(Double fbaseqty) 
    {
        this.fbaseqty = fbaseqty;
    }

    public Double getFbaseqty() 
    {
        return fbaseqty;
    }
    public void setFbaseunitid(String fbaseunitid) 
    {
        this.fbaseunitid = fbaseunitid;
    }

    public String getFbaseunitid() 
    {
        return fbaseunitid;
    }
    public void setFbillcode(String fbillcode) 
    {
        this.fbillcode = fbillcode;
    }

    public String getFbillcode() 
    {
        return fbillcode;
    }
    public void setFsecuritycode(String fsecuritycode) 
    {
        this.fsecuritycode = fsecuritycode;
    }

    public String getFsecuritycode() 
    {
        return fsecuritycode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fbarcode", getFbarcode())
            .append("fbarcoderule", getFbarcoderule())
            .append("fforbidstatus", getFforbidstatus())
            .append("fmaterialid", getFmaterialid())
            .append("funitid", getFunitid())
            .append("fqty", getFqty())
            .append("fcreatedate", getFcreatedate())
            .append("fmodifydate", getFmodifydate())
            .append("fcreateorgid", getFcreateorgid())
            .append("fstockorgid", getFstockorgid())
            .append("fstockid", getFstockid())
            .append("foutqty", getFoutqty())
            .append("fboxqty", getFboxqty())
            .append("fquaqty", getFquaqty())
            .append("fbaseqty", getFbaseqty())
            .append("fbaseunitid", getFbaseunitid())
            .append("fbillcode", getFbillcode())
            .append("fsecuritycode", getFsecuritycode())
            .toString();
    }
}
